package com.zh.web.domain.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zh.web.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@TableName("ls_role_permission")
@ApiModel(value ="角色权限关联表")
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class RolePermission extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("角色编码")
    private Integer roleCode;
    @ApiModelProperty("权限编码")
    private Integer permissionCode;

}

